﻿using System;
namespace Token.Piker.Model
{
	/// <summary>
	/// NewsPhoto:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class NewsPhoto
	{
		public NewsPhoto()
		{}
		#region Model
		private int _id;
		private string _photoname;
		private string _descrip;
		private DateTime? _uploadtime= DateTime.Now;
		private int? _album;
		private string _sourceurl;
		private string _compressurl_1;
		private string _compressurl_2;
		private string _compressurl_3;
		private string _compressurl_4;
		private int? _flag=0;
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PhotoName
		{
			set{ _photoname=value;}
			get{return _photoname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Descrip
		{
			set{ _descrip=value;}
			get{return _descrip;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? UploadTime
		{
			set{ _uploadtime=value;}
			get{return _uploadtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Album
		{
			set{ _album=value;}
			get{return _album;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string SourceUrl
		{
			set{ _sourceurl=value;}
			get{return _sourceurl;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CompressUrl_1
		{
			set{ _compressurl_1=value;}
			get{return _compressurl_1;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CompressUrl_2
		{
			set{ _compressurl_2=value;}
			get{return _compressurl_2;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CompressUrl_3
		{
			set{ _compressurl_3=value;}
			get{return _compressurl_3;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CompressUrl_4
		{
			set{ _compressurl_4=value;}
			get{return _compressurl_4;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Flag
		{
			set{ _flag=value;}
			get{return _flag;}
		}
		#endregion Model

	}
}

